package info.aquaball.data;

public class UserImpl implements User {

	private String name;
	private String password;
	private String email;
	private boolean admin;
	private String id;

	public UserImpl(String name, String password, String email, boolean admin) {
		this.name = name;
		this.password = password;
		this.email = email;
		this.admin = admin;
	}

	public UserImpl(String id, String name, String password, String email,
			boolean admin) {
		super();
		this.id = id;
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getPassword() {
		return password;
	}

	@Override
	public String getEMail() {
		return email;
	}

	@Override
	public boolean isAdmin() {
		return admin;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

}
